const config = {
    DEBUG:true, //是否调试模式
    //MySQL数据库连接配置
    MYSQL:{
        host:'localhost',
        port:'3306',
        database:'class',
        username:'root',
        password:'8813551qaz'
    }
};

if(process.env.NODE_ENV === 'production'){
    config.MYSQL = {
        host:'101.132.159.178',
        host:'3306',
        database:'class',
        username:'root',
        password:'8813551qaz'
    };
}

module.exports = config;